using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("ConnectionIndicator")]
	public class ConnectionIndicator : MonoBehaviour
	{
		public GameObject m_indicator => method_3<GameObject>("m_indicator");

		public bool m_active => method_2<bool>("m_active");

		public static float LATENCY_TOLERANCE => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "ConnectionIndicator", "LATENCY_TOLERANCE");

		public ConnectionIndicator(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ConnectionIndicator(IntPtr address)
			: this(address, "ConnectionIndicator")
		{
		}

		public static ConnectionIndicator Get()
		{
			return MonoClass.smethod_15<ConnectionIndicator>(TritonHs.MainAssemblyPath, "", "ConnectionIndicator", "Get", Array.Empty<object>());
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void SetIndicator(bool val)
		{
			method_8("SetIndicator", val);
		}

		public bool IsVisible()
		{
			return method_11<bool>("IsVisible", Array.Empty<object>());
		}

		public void Update()
		{
			method_8("Update");
		}
	}
}
